<?php
/**
 * Introduction: 优惠卷  volume
 * @author: 杨陈鹏
 * @date: 2016/4/12 14:11
 * @email: yangchenpeng@cdlinglu.com
 */

namespace Common\Model;


use Think\Model;

class VolumeModel extends Model
{
    //定义数据库连接信息
    protected $connection;
    //定义模型字段
    protected $fileds = [

        'id',
        'uid',
        'price',
        'end_time',
        'create_time',
        'order_id',
        'status',

    ];
    //定义表名
    protected $tableName = 'volume';

    /**
     * 初始化
     */
    public function _initialize()
    {
        $this->connection = C('Databaese');
    }
}